package BizLogic;

import java.util.ArrayList;

import model.HolidayDates;

import dao.BookingDAO;
import dao.DAOFactory;
import dao.HolidayDatesDAO;

public class HolidayDateManager {

	/**
	 * @param args
	 */
private HolidayDatesDAO holidayDAO;
	
	public HolidayDateManager(){
		
		holidayDAO = DAOFactory.loadInstance().getHolidayDatesDAO();
	}
	public ArrayList<HolidayDates> addDuration(int day,int month)
	{
		int duration=0;
		ArrayList<HolidayDates> holidays=holidayDAO.findHolidays(day, month);
		
		return holidays;
	}
}
